/// bedId : 4382097016811521
/// bedNo : "10(朝北)"
/// branchId : 6627
/// createdBy : "5"
/// createdDate : "2024-05-30 17:39:50"
/// customerId : 4965300435021824
/// customerName : "测试身份证导入"
/// executorId : 5
/// executorName : "超级管理员"
/// executorTime : "2024-06-02 17:16:24"
/// id : 1
/// prescriptionDate : "2024-06-02 16:42:47"
/// prescriptionNo : "423553334"
/// projectName : "肌肉注射"
/// recordId : 1
/// saasId : 1000
/// status : 1
/// statusName : "已完成"
/// updatedBy : "5"
/// updatedDate : "2024-06-02 17:16:24"

class TreatmentDetailListData {
  TreatmentDetailListData({
      this.bedId, 
      this.bedNo, 
      this.branchId, 
      this.createdBy, 
      this.createdDate, 
      this.customerId, 
      this.customerName, 
      this.executorId, 
      this.executorName, 
      this.executorTime, 
      this.id, 
      this.prescriptionDate, 
      this.prescriptionNo, 
      this.projectName, 
      this.recordId, 
      this.saasId, 
      this.status, 
      this.statusName, 
      this.updatedBy, 
      this.updatedDate,});

  TreatmentDetailListData.fromJson(dynamic json) {
    bedId = json['bedId'];
    bedNo = json['bedNo'];
    branchId = json['branchId'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    customerId = json['customerId'];
    customerName = json['customerName'];
    executorId = json['executorId'];
    executorName = json['executorName'];
    executorTime = json['executorTime'];
    id = json['id'];
    prescriptionDate = json['prescriptionDate'];
    prescriptionNo = json['prescriptionNo'];
    projectName = json['projectName'];
    recordId = json['recordId'];
    saasId = json['saasId'];
    status = json['status'];
    statusName = json['statusName'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
  }
  num? bedId;
  String? bedNo;
  num? branchId;
  String? createdBy;
  String? createdDate;
  num? customerId;
  String? customerName;
  num? executorId;
  String? executorName;
  String? executorTime;
  num? id;
  String? prescriptionDate;
  String? prescriptionNo;
  String? projectName;
  num? recordId;
  num? saasId;
  num? status;
  String? statusName;
  String? updatedBy;
  String? updatedDate;
TreatmentDetailListData copyWith({  num? bedId,
  String? bedNo,
  num? branchId,
  String? createdBy,
  String? createdDate,
  num? customerId,
  String? customerName,
  num? executorId,
  String? executorName,
  String? executorTime,
  num? id,
  String? prescriptionDate,
  String? prescriptionNo,
  String? projectName,
  num? recordId,
  num? saasId,
  num? status,
  String? statusName,
  String? updatedBy,
  String? updatedDate,
}) => TreatmentDetailListData(  bedId: bedId ?? this.bedId,
  bedNo: bedNo ?? this.bedNo,
  branchId: branchId ?? this.branchId,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  customerId: customerId ?? this.customerId,
  customerName: customerName ?? this.customerName,
  executorId: executorId ?? this.executorId,
  executorName: executorName ?? this.executorName,
  executorTime: executorTime ?? this.executorTime,
  id: id ?? this.id,
  prescriptionDate: prescriptionDate ?? this.prescriptionDate,
  prescriptionNo: prescriptionNo ?? this.prescriptionNo,
  projectName: projectName ?? this.projectName,
  recordId: recordId ?? this.recordId,
  saasId: saasId ?? this.saasId,
  status: status ?? this.status,
  statusName: statusName ?? this.statusName,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['bedId'] = bedId;
    map['bedNo'] = bedNo;
    map['branchId'] = branchId;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['customerId'] = customerId;
    map['customerName'] = customerName;
    map['executorId'] = executorId;
    map['executorName'] = executorName;
    map['executorTime'] = executorTime;
    map['id'] = id;
    map['prescriptionDate'] = prescriptionDate;
    map['prescriptionNo'] = prescriptionNo;
    map['projectName'] = projectName;
    map['recordId'] = recordId;
    map['saasId'] = saasId;
    map['status'] = status;
    map['statusName'] = statusName;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    return map;
  }

}